package com.example.demo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class QrCodePosition {

    private Integer top;
    private Integer right;
    private Integer bottom;
    private Integer left;

    public boolean isLeft() {
        return left != null && left > 0;
    }

    public boolean isBottom() {
        return bottom != null && bottom > 0;
    }

}
